@extends('Layout/layout')

@section('yemian')
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('/group') }}"><p>分组管理</p></a></li>

<li><a href="{{ url('/cate') }}"><p>菜单管理</p></a></li>
</ul>
</div>
<div class="mian_b">
<div class="mian_b1">
<!-- <a href="/cate/add" title="添加"><p class="mian_b1_a1"></p></a> -->
<!-- <a href="#" title="删除"><p class="mian_b1_a2"></p></a> -->
<form action="{{url('/cate')}}" modth="get">
	
<p class="mian_b1_sousuo"><input name="name" type="text" value="菜单名"></p>
<input type="image" src="/public/images/1.jpg" style="margin:13px;">
</form>

</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg">
<tr>
<td width="3%" class="mian_b_bg_lm"><input name="" type="checkbox" value="">&nbsp;</td>
<td width="12%" class="mian_b_bg_lm"><span></span>菜单ID</td>
<td width="20%" class="mian_b_bg_lm"><span></span>所属分组</td>
<td width="30%" class="mian_b_bg_lm"><span></span>菜单名称</td>
<td width="10%" class="mian_b_bg_lm"><span></span>备注</td>
<td colspan="2" class="mian_b_bg_lm"><span></span>操作</td>
</tr>
@foreach($res as $k => $v)
<tr>
<td><input name="" type="checkbox" value="">&nbsp;</td>
<td>{{ $v['CateId'] }}</td>
<td>{{ $v['ClassName'] }}</td>
<td>{{ $v['CateName'] }}</td>
<td>{{ $v['Remark'] }}</td>
<td width="8%" class="mian_b_icon_01"><a href="{{ url('/cate/edit',['id'=>$v['CateId']]) }}">编辑</a></td>
<td width="8%" class="mian_b_icon_02"><a href="{{ url('/cate/del',['id'=>$v['CateId']]) }}">删除</a></td>
</tr>
@endforeach
<tr>
<td width="3%" class="mian_b_bg_lm"></td>
<td width="12%" class="mian_b_bg_lm"><span></span>菜单ID</td>
<td width="20%" class="mian_b_bg_lm"><span></span>所属分组</td>
<td width="30%" class="mian_b_bg_lm"><span></span>菜单名称</td>
<td width="10%" class="mian_b_bg_lm"><span></span>备注</td>
<td colspan="2" class="mian_b_bg_lm"><span></span>操作</td>
</tr>
</table>
<div style="float:left;" id="fenye">
{!! $res->appends($info)->render() !!}
</div>
</div>
</div>
</body>

@endsection